package com.jy.modules.cims.data.interact.api.request;

import java.io.Serializable;
import java.math.BigDecimal;

import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.NotBlank;

/**
 * @description 额度申请Request
 * @author   yujiazheng	
 * @date    2016-11-14
 */
public class RequestQuotaApplyDTO implements Serializable {
	private static final long serialVersionUID = 1L;
	
	
	@NotBlank(message = "合约编号:contractCode不能为空")
	private String contractCode;// 合约编号
	
	@NotNull(message = "申请金额:quotaSum不能为空")
	private BigDecimal quotaSum;// 申请金额
	
	@NotNull(message = "起始日期:startDate不能为空")
	private java.util.Date startDate;// 起始日期
	
	
	@NotNull(message = "失效日期:invalidDate不能为空")
	private java.util.Date invalidDate;// 失效日期
	
	
	public String getContractCode() {
		return contractCode;
	}
	public void setContractCode(String contractCode) {
		this.contractCode = contractCode;
	}
	public BigDecimal getQuotaSum() {
		return quotaSum;
	}
	public void setQuotaSum(BigDecimal quotaSum) {
		this.quotaSum = quotaSum;
	}
	public java.util.Date getStartDate() {
		return startDate;
	}
	public void setStartDate(java.util.Date startDate) {
		this.startDate = startDate;
	}
	public java.util.Date getInvalidDate() {
		return invalidDate;
	}
	public void setInvalidDate(java.util.Date invalidDate) {
		this.invalidDate = invalidDate;
	}
	


}
